/**
 * \class ExpressionType.cpp /GenProg/AbsSyn/ExpressionType.cpp
 *
 *  \date 25 maj 2012
 *  \author ytc0039
 *  
 *  \brief 
 */

#include <stdlib.h>
#include <AbsSyn/GenExpClasses/ExpressionType.h>
#include <RandomPkg/Randomizer.h>

const ExpressionType ExpressionType::BOOL_EXP("BoolExp");
const ExpressionType ExpressionType::INT_EXP("IntExp");
const ExpressionType ExpressionType::DOUBLE_EXP("DblExp");
const ExpressionType ExpressionType::ADD_EXP("AddExp");
const ExpressionType ExpressionType::IDENT_EXP("IdentExp");
const ExpressionType ExpressionType::MOD_EXP("ModExp");

ExpressionType::ExpressionType(const char* image):Enumeration<ExpressionType>(image) {


}


ExpressionType ExpressionType::genConstantType()
{
	RandomPkg::Randomizer randGen;
	const ExpressionType& exp = randGen.createRandom<ExpressionType>();

	return exp;

}
